body {
    min-height: 150%;
}

header {
    text-align: center;
    background-color: cadetblue;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 2%;
    font-size: 40px;
    margin-bottom: 1%;
}

footer {
    padding-left: 2%;
    padding: 5px;
    background-color: cadetblue;
}
/* 
.uploader {
    padding-left: 20%;
    background-color: cadetblue;
    padding: 15px 32px;
}

.uploader button {
    background-color: green;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.uploader input {
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
} */

.login {
    position: absolute;
    left: 0;
    top: 0;
    margin: 2%;
}

#login_form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* width: 100%; */
    min-width: 400px;
}

.topbuttons {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}

.boodschappen {
    position: absolute;
    right: 0;
    top: 0;
    margin: 2%;
}

.boodschappen button, .login button {
    background-color: green;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

table, th, td {
    border: 1px solid;
}

.filter-options {
    background-color: darkslategray;
    color: white;
    padding: 1%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*position: sticky;*/
    top: 0;
    max-width: 20%;
    float: left;
}

.filter-row {
    margin-left: 2%;
    padding: 10px;
    margin: 5px;
    background-color: rgb(58, 97, 97);
    /*overflow: hidden;*/
    max-width: 250px;
}

/*#recepten {
    float: left;
    max-width: 70%;
}*/

.content::after {
    content: "";
    display: table;
    clear: both;
}

#max_duur {
    width: 50px;
}

td a img, td img{
    height: 150px;
}

td a {
    width: 100%;
    height: 150px;
}

.filter {
    padding-left: 1%;
    padding-right: 1%;
}

/*#zoek_button {*/
#buttonsdiv {
    margin-left: 5px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* #clear_button {
    margin-left: 20px;
} */

.dropdown{
    margin-top: 2px;
    margin-bottom: 2px;
}

  /*when hovering an item:*/
.dropdown-menu li a:hover {
    background-color: #f1f1f1; 
}

input.check {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    /* float: left; */
    margin-top: 4px;
}

/*
input[type=number] {
    border-radius: 4px;
}*/

#longer {
    padding-top: 3px;
}

#gezond {
    margin-right: 20px;
}

#zoek-info {
    width: 100%;
}

#sorteer_vak {
    display: flex;
    justify-content: flex-end;
}

#recepten_vullen {
    margin: 1%;
    display: flex;
    padding: 2%;
    flex-wrap: wrap;
}

/*table{
    width: 60%;
    table-layout: auto;
}*/

#recepten table tbody tr th {
    text-align: center;
    font-size: large;
    padding: 5px;
}

#recepten table tbody tr td {
    padding: 5px;
}


.boodschappen_overlay, .login_overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.containerfixer {
    display: flex;              /* establish flex container */
    flex-direction: column;     /* stack flex items vertically */
    justify-content: center;    /* center items vertically, in this case */
    align-items: center;        /* center items horizontally, in this case */
    width: 100%;
    height: 100%;
}

.boodschappen_box {
    overflow: auto;
    display: flex;
    justify-content: space-between;
}

.boodschappen_buiten_box {
    background-color: cornflowerblue;
    width: 80%;
    height:  fit content; /*80%*/
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 5%;
    margin-top: 5%;
    margin-left: 10%;
    opacity: .9;
}

#weekSelector {
    display: flex;
    justify-content: center;
}

#weekVooruit, #weekTerug {
    cursor: pointer;    
}

#weekVooruit:hover, #weekTerug:hover {
    background-color: lightblue;
    opacity: .5;
}

.login_box {
    background-color: cornflowerblue;
    /* width: 30%;
    height: 35%;
    padding: 5%;
    margin-top: 15%;
    margin-left: 40%; */
    /* margin: auto; */
    /* width: 50%; */
    opacity: .9;
    overflow: auto;
    display: flex;
    justify-content: space-between;
}

.login_onderdeel {
    margin: 5%;
}

.blocker {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: ' ';
    background: rgba(0,0,0,.7);
}

.gek_recept {
    background-color: cadetblue;
    padding: 1%;
}

.gek_recept a {
    text-decoration: none;
    color: black;
}

.bootstrap-select .dropdown-menu {
    margin-left: 225px;
    margin-top: -38px;
}


#benodigdeIngredienten{
    width: 220px;
    border: none;
    margin-top: 2px;
    border-radius: 4px;
    padding: 8px;
    padding-left: 13px;
}

#verbodenIngredienten{
    width: 220px;
    border: none;
    margin-top: 2px;
    border-radius: 4px;
    padding: 8px;
    padding-left: 13px;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    /*top: 100%;
    left: 0;
    right: 0;*/
    width: 200px;
    margin-left: 225px;
    margin-top: -38px;
}
  
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    color: #000;
}
  
/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9; 
}
  
/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
}

#benodigdeIngredienten::placeholder {
    color: rgb(145, 145, 145);
    opacity: 1; /* Firefox */
}

#verbodenIngredienten::placeholder {
    color: rgb(190, 85, 85);
    opacity: 1; /* Firefox */
}

.persButton {
    padding: 5px;
    background-color: rgb(119, 199, 199);
    border-radius: 4px;
    line-height: 0.75em;
}

/* #addRemoveButton {
    float: left;
    margin-top: 4px;
} */

.persChange {
    float: left;
    margin-left: 10px;
    margin-right: 15px;
}

.persNr {
    float: left;
    padding-right: 2px;
    margin-bottom: 0;
}

.recept_box{
    width: 23%;
    overflow: hidden;
    margin: 1%;
    position: relative;  
    /*border: 1px solid black;*/
}

.recept_box img {
    width: 100%;
}

/*
.receptLink{
    width: 25%;
    height: 200px;
    float: left;
}*/

.receptDet {
    background-color: rgba(255,255,255,0.5);
    padding: 2%;
    color: black;
    text-decoration: none;
    position: absolute;
    left: 0;
    bottom: 0;
    right:0;
    font-weight: bold;
}

.receptButton {
    /*height: 200px;*/
    /*float: right;*/
    margin: 5px;
    /*padding-top: 90px;*/
    position: absolute;
    right: 0;
    bottom: 0;
}

.recept_box ::after{
    content: "";
    display: table;
    clear: both;
}

#sorteren {
    float: right;
}

#aantal_gevonden {
    float: left;
}

.ingred_lijst {
    float: right;
}

.recept_lijst {
    float: left;
}

#ingredientenTabel {
    border: none;
}

.keywordDiv {
    float: left;
    background-color: cadetblue;
    border: 1px solid rgb(56, 93, 94);
    border-radius: 5px;
    padding: 5px;
    margin: 1px;
}

.autocomplete textarea {
    height: 40px;
}

.ingredientenGF {
    background-color: limegreen;
}

.ingredientenAP {
    background-color: burlywood;
}

.ingredientenME {
    background-color: lightcyan;
}

.ingredientenV {
    background-color: coral;
}

.ingredientenO {
    background-color: yellow;
}

.ingredientenK {
    background-color: green;
}
/* 
@media only screen and (max-width: 600px) { /* first 768px */
  /* For mobile phones: */
  /* [class*="col-"] {
    width: 100%;
  } */
  /* change the width of the recept tiles on mobiles to have 1 tile per row */
 /* .recept_box {
      width: 98%;
  }
  .filter-options {
      float: none;
      max-width: 100%;
      width: 100%;
      margin-bottom: 5%;
  }
  #filterform {
      display: flex;
      flex-wrap: wrap;
  }
  .filter-row {
      display: flex;
      flex-wrap: wrap;
      max-width: 1100px;
  }
} */

@media only screen and (max-width: 800px){ /*(max-width: 800px) and (min-width: 600px) {*/
  /* For mobile phones: */
  /* [class*="col-"] {
    width: 100%;
  } */
  /* change the width of the recept tiles on mobiles to have 2 tile per row */
  .recept_box {
      width: 48%;
  }
  .filter-options {
      float: none;
      max-width: 100%;
      width: 100%;
      margin-bottom: 5%;
  }
  #filterform {
      display: flex;
      flex-wrap: wrap;
  }
  .filter-row {
      display: flex;
      flex-wrap: wrap;
      max-width: 1100px;
  }
  .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
      width: auto; 
  }
  .bootstrap-select .dropdown-menu {
    margin-left: 0; 
    margin-top: 0; 
  }
  .topbuttons {
    height: 60px;
    position: relative;
  }
}

@media only screen and (max-width: 1100px) and (min-width: 800px) {
  /* For mobile phones: */
  /* [class*="col-"] {
    width: 100%;
  } */
  /* change the width of the recept tiles on mobiles to have 3 tile per row */
  .recept_box {
      width: 31%;
  }
  .filter-options {
      float: none;
      max-width: 100%;
      width: 100%;
      margin-bottom: 5%;
  }
  #filterform {
      display: flex;
      flex-wrap: wrap;
  }
  .filter-row {
      display: flex;
      flex-wrap: wrap;
      max-width: 1100px;
  }
  .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
      width: auto; 
  }
  .bootstrap-select .dropdown-menu {
    margin-left: 0; 
    margin-top: 0; 
  }
  .topbuttons {
    height: 60px;
    position: relative;
  }
}